#import <UIKit/UIKit.h>

#import "PITask.h"

@class FWApplication;


@interface PITaskNative : NSObject

+ (NSMutableArray*)basicTaskList:(FWApplication*)app database:(FWDatabase*)database prefs:(FWPreferences*)prefs key:(NSString*)key search:(NSString*)search;

+ (PITask*)augmentedBasicTask:(PITask*)event application:(FWApplication*)app;

+ (BOOL)createTask:(NSString*)title importance:(PIImportanceType)importance application:(FWApplication*)app;

+ (BOOL)completeTask:(PITask*)task application:(FWApplication*)app;

+ (void)showInApplication:(PITask*)task application:(FWApplication*)app;

+ (BOOL)supportsNativeTasks:(FWApplication*)app;

@end
